﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlogsAPI.Sites.FoursquareSharp
{
    /// <summary>
    /// 
    /// </summary>
    /// <see cref="https://developer.foursquare.com/docs/responses/photo"/>
    public class Photo
    {
        /// <summary>
        /// Start of the URL for this photo.
        /// </summary>
        [JsonMapping("prefix", JsonMapping.MappingType.Primitive)]
        public string Prefix { get; set; }
        /// <summary>
        /// End of the URL for this photo. To assemble a photo URL, take prefix + size + suffix, e.g. https://irs0.4sqi.net/img/general/530x224/2341723_vt1Kr-SfmRmdge-M7b4KNgX2_PHElyVbYL65pMnxEQw.jpg. Sizes are of the form WIDTHxHEIGHT. Accepted sizes for photos other than user profiles are: 36x36, 100x100, 300x300, and 500x500.
        /// </summary>
        [JsonMapping("suffix", JsonMapping.MappingType.Primitive)]
        public string Suffix { get; set; }
    }
}
